//
//  UserAbstractBaseView.h
//  LXFCommon
//
//  Created by lixfey on 2019/3/19.
//  Copyright © 2019 lixfey. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


typedef NS_ENUM(NSInteger, AbstractSexType) {
    /// 男
    AbstractSexTypeMan,
    /// 女
    AbstractSexTypeWoMan,
    /// 未知
    AbstractSexTypeNone
};

@interface AbstractBaseModel : NSObject
/// 头像地址
@property (nonatomic, copy) NSString *picUrl;
/// 姓名
@property (nonatomic, copy) NSString *name;
/// 性别
@property(nonatomic, assign) AbstractSexType sex;
/// 简介
@property (nonatomic, copy) NSString *intro;

@end

@interface UserAbstractBaseView : UIView
@property (nonatomic, weak) AbstractBaseModel *model;
/// 点击block
@property (nonatomic, copy) void(^AbstractBaseViewClickBlock)(NSUInteger index);

@end

NS_ASSUME_NONNULL_END
